package com.ktgj.hotel.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 酒店房型信息对象 hotel_room
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
@Alias("HotelRooms")
public class HotelRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒店房型信息表 */
    private Long roomId;

    /** 酒店信息表关联主键 */
    @Excel(name = "酒店信息表关联主键")
    private Long hotelInfoId;

    /** 房型名称 */
    @Excel(name = "房型名称")
    private String roomName;

    /** 房型英文名称 */
    @Excel(name = "房型英文名称")
    private String roomEn;

    /** 房型代码 */
    @Excel(name = "房型代码")
    private String roomCode;

    /** $column.columnComment */
    @Excel(name = "房型代码")
    private String roomCount;

    /** 房间面积 */
    @Excel(name = "房间面积")
    private String roomArea;

    /** 房间楼层 */
    @Excel(name = "房间楼层")
    private String roomFloor;

    /** 房型容纳人数 */
    @Excel(name = "房型容纳人数")
    private String roomPersonCount;

    /** $column.columnComment */
    @Excel(name = "房型容纳人数")
    private String roomWifi;

    /** 房型描述 */
    @Excel(name = "房型描述")
    private String roomDesc;

    /** 床型类型 */
    @Excel(name = "床型类型")
    private String roomBedType;

    /** 床型数量 */
    @Excel(name = "床型数量")
    private String roomBedCount;

    /** 床型宽度 */
    @Excel(name = "床型宽度")
    private String roomBedWidth;

    /** 床型描述 */
    @Excel(name = "床型描述")
    private String roomBedDesc;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date roomCreatetime;

    /** 创建员工ID */
    @Excel(name = "创建员工ID")
    private Long roomCreateby;

    /** $column.columnComment */
    @Excel(name = "创建员工ID")
    private String roomPicture;

    /*-----------------------------------------------------------------*/

    /** 酒店价格列表 */
    @Excel(name = "酒店价格列表")
    private List<HotelRoomPrice> hotelRoomPriceList;

    public List<HotelRoomPrice> getHotelRoomPriceList() {
        return hotelRoomPriceList;
    }

    public void setHotelRoomPriceList(List<HotelRoomPrice> hotelRoomPriceList) {
        this.hotelRoomPriceList = hotelRoomPriceList;
    }

    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setHotelInfoId(Long hotelInfoId) 
    {
        this.hotelInfoId = hotelInfoId;
    }

    public Long getHotelInfoId() 
    {
        return hotelInfoId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setRoomEn(String roomEn) 
    {
        this.roomEn = roomEn;
    }

    public String getRoomEn() 
    {
        return roomEn;
    }
    public void setRoomCode(String roomCode) 
    {
        this.roomCode = roomCode;
    }

    public String getRoomCode() 
    {
        return roomCode;
    }
    public void setRoomCount(String roomCount) 
    {
        this.roomCount = roomCount;
    }

    public String getRoomCount() 
    {
        return roomCount;
    }
    public void setRoomArea(String roomArea) 
    {
        this.roomArea = roomArea;
    }

    public String getRoomArea() 
    {
        return roomArea;
    }
    public void setRoomFloor(String roomFloor) 
    {
        this.roomFloor = roomFloor;
    }

    public String getRoomFloor() 
    {
        return roomFloor;
    }
    public void setRoomPersonCount(String roomPersonCount) 
    {
        this.roomPersonCount = roomPersonCount;
    }

    public String getRoomPersonCount() 
    {
        return roomPersonCount;
    }
    public void setRoomWifi(String roomWifi) 
    {
        this.roomWifi = roomWifi;
    }

    public String getRoomWifi() 
    {
        return roomWifi;
    }
    public void setRoomDesc(String roomDesc) 
    {
        this.roomDesc = roomDesc;
    }

    public String getRoomDesc() 
    {
        return roomDesc;
    }
    public void setRoomBedType(String roomBedType) 
    {
        this.roomBedType = roomBedType;
    }

    public String getRoomBedType() 
    {
        return roomBedType;
    }
    public void setRoomBedCount(String roomBedCount) 
    {
        this.roomBedCount = roomBedCount;
    }

    public String getRoomBedCount() 
    {
        return roomBedCount;
    }
    public void setRoomBedWidth(String roomBedWidth) 
    {
        this.roomBedWidth = roomBedWidth;
    }

    public String getRoomBedWidth() 
    {
        return roomBedWidth;
    }
    public void setRoomBedDesc(String roomBedDesc) 
    {
        this.roomBedDesc = roomBedDesc;
    }

    public String getRoomBedDesc() 
    {
        return roomBedDesc;
    }
    public void setRoomCreatetime(Date roomCreatetime) 
    {
        this.roomCreatetime = roomCreatetime;
    }

    public Date getRoomCreatetime() 
    {
        return roomCreatetime;
    }

    public Long getRoomCreateby() {
        return roomCreateby;
    }

    public void setRoomCreateby(Long roomCreateby) {
        this.roomCreateby = roomCreateby;
    }

    public void setRoomPicture(String roomPicture)
    {
        this.roomPicture = roomPicture;
    }

    public String getRoomPicture()
    {
        return roomPicture;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("hotelInfoId", getHotelInfoId())
            .append("roomName", getRoomName())
            .append("roomEn", getRoomEn())
            .append("roomCode", getRoomCode())
            .append("roomCount", getRoomCount())
            .append("roomArea", getRoomArea())
            .append("roomFloor", getRoomFloor())
            .append("roomPersonCount", getRoomPersonCount())
            .append("roomWifi", getRoomWifi())
            .append("roomDesc", getRoomDesc())
            .append("roomBedType", getRoomBedType())
            .append("roomBedCount", getRoomBedCount())
            .append("roomBedWidth", getRoomBedWidth())
            .append("roomBedDesc", getRoomBedDesc())
            .append("roomCreatetime", getRoomCreatetime())
            .append("roomCreateby", getRoomCreateby())
            .append("roomPicture", getRoomPicture())
            .toString();
    }
}
